import request from '@/utils/request'

export default {
    query: function (params){
        return request({
            url: '/jobReport/getReportPage',
            method: 'get',
            params
          })
    },
    get: function (id){
        return request({
            url: '/jobReport/getReportDetail?id=' + id,
            method: 'get'
          })
    },
    insert: function (data){
        return request({
            url: '/jobReport/addReport',
            method: 'post',
            data: data
          })
    },
    update: function (data){
        return request({
            url: '/jobReport/modReport',
            method: 'post',
            data
          })
    },
    del: function (id){
        return request({
            url: '/jobReport/delReport?id=' + id,
            method: 'get'
          })
    },
    export: '/jobReport/exportReport'
}